<!-- 主体 -->
<div class="layui-container project-list-content" style="margin:10px auto;width:100%;">
    <h1 style="text-align: center;margin: 20px auto;">新增文档</h1>
    <form class="layui-form" action="/add" method="post">
        <div class="layui-form-item">
            <label class="layui-form-label">文档地址</label>
            <div class="layui-input-block">
                <input type="text" name="link" required  lay-verify="required" placeholder="如：https://gitee.com/test/books.git 只支持公开仓库地址，不支持私有仓库" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文档类型</label>
            <div class="layui-input-block">
                <input type="radio" name="type" value="1" title="单本" checked>
                <input type="radio" name="type" value="2" title="多本">
            </div>
            <div class="layui-form-mid layui-word-aux">请准确选择，不然添加失败</div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">文档分类</label>
            <div class="layui-input-block">
                <select name="category" lay-verify="required">
                    <option value=""></option>
                    <option value="1">编程技术</option>
                    <option value="2">商业赚钱</option>
                    <option value="3">人物公司</option>
                    <option value="4">学习认知</option>
                    <option value="5">生活人生</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">授权码</label>
            <div class="layui-input-block">
                <input type="text" name="authority" placeholder="选填" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">联系邮箱</label>
            <div class="layui-input-block">
                <input type="text" name="email" required  lay-verify="required" placeholder="727403273@qq.com" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>

</div>
<!-- 主体结束 -->